import Vue from 'vue'
import Router from 'vue-router'
import index from '@/views/index'
import images from '@/views/images'
import design from '@/views/design'
import user from '@/views/user'
Vue.use(Router)

export default new Router({
    routes: [{
            path: '/',
            redirect: '/index'
        },
        {
            path: '/index',
            name: 'index',
            component: index
        },
        {
            path: '/images',
            name: 'images',
            component: images
        },
        {
            path: '/design',
            name: 'design',
            component: design
        },
        {
            path: '/user',
            name: 'user',
            component: user
        }
    ]
})